<div class="container">
    <h2>Events Processing... Plese Wait..</h2>
</div>
<?php if(count($flashMessages)) : ?>
    <?php foreach ($flashMessages as $msg) : ?>
    <?php echo "<script type=\"text/javascript\">alert('$msg');</script>"; ?>
    <?php endforeach; ?>
<?php endif; ?>